/*    */ package com.zimbra.cs.html;
/*    */ 
/*    */ import java.io.PrintWriter;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class DefangWriter
/*    */   extends org.cyberneko.html.filters.Writer
/*    */ {
/*    */   public DefangWriter(java.io.Writer writer, String encoding)
/*    */   {
/* 29 */     super(writer, encoding);
/*    */   }
/*    */   
/*    */   protected void printEntity(String name) {
/* 33 */     this.fPrinter.print('&');
/* 34 */     if (name.equals("apos")) {
/* 35 */       this.fPrinter.print("#39");
/*    */     } else
/* 37 */       this.fPrinter.print(name);
/* 38 */     this.fPrinter.print(';');
/* 39 */     this.fPrinter.flush();
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/html/DefangWriter.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */